package com.yunfeisoft.business.dao.impl.postgres;

import com.applet.base.ServiceDaoImpl;
import com.applet.sql.builder.WhereBuilder;
import com.applet.utils.Page;
import com.yunfeisoft.business.dao.inter.PmsProductCategoryAttributeRelationDao;
import com.yunfeisoft.business.model.PmsProductCategoryAttributeRelation;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * ClassName: PmsProductCategoryAttributeRelationDaoImpl
 * Description: 商品分类和属性的关系表Dao实现
 * Author: Jackie liu
 * Date: 2020-06-02
 */
@Repository
public class PmsProductCategoryAttributeRelationDaoImpl extends ServiceDaoImpl<PmsProductCategoryAttributeRelation, String> implements PmsProductCategoryAttributeRelationDao {

    @Override
    public Page<PmsProductCategoryAttributeRelation> queryPage(Map<String, Object> params) {
        WhereBuilder wb = new WhereBuilder();
        if (params != null) {
            initPageParam(wb, params);
        }
        return queryPage(wb);
    }
}